enum Direction {
  Up = 1,
  Down,
  Left,
  Right
}
console.log(Direction.Up) // 1
console.log(Direction.Down) // 2
